using System;

namespace Sedna.Core.Controls.Support
{
	/// <summary>
	/// Should be implemented by controls, that are able to be accessed on the client.
	/// </summary>
	public interface IClientScriptingControl
	{
	    /// <summary>
	    /// Javascript class of the control
	    /// </summary>
        string JavascriptClass
        {
            get;
            set;
        }

	    /// <summary>
	    /// ID of HTML node of the control
	    /// </summary>
        string NodeName
        {
            get;
        }
	    
	    /// <summary>
	    /// Client variable that will reference to client object of this control
	    /// </summary>
		string ClientVariable
		{
			get;
			set;
		}

	    /// <summary>
	    /// Determines whether client scripting should be supported for this control instance
	    /// </summary>
		bool ClientScriptingEnabled
		{
			get;
			set;
		}
	}
}
